package com.qq.BFMRSE.util;

public class BFConstants {
	public static String HADOOP_PATH="hdfs://localhost:9000";
	public static int UPENCRYPTFILE=1;
	public static int UPENCRYPTTREE=2;
	public static int UPENCRYPTINDEX=3;
	public static String 	SERTREENAME="root.obj";
	public static String SERINDEXNAME="encryptedIndexs.obj";
	public static String ENCRYDIRNAME="encryptedFile";
	public static int DOWNLOADSINGLE=1;
	public static int DOWNMULTIFILES=2;
	public static String TMPZIPNAME="tmp.zip";
	public static String ENCODETYPE="UTF-8";
	public static int HDFSREPLICATION=1;
	public static int HDFSBLOCKSIZE=1048576;
	public static long FREEMEMORY=10L*1024L*1024L;//空闲虚拟机内存阀值
	public static long CACHETIMEOUT=1L*60L*1000L;//设置缓存清理线程的运行周期
	public static String INDEXTREEKEY="indexTree";
	public static String ENCINDEXKEY="encIndex";

}
